﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LHDev.AutoUpdate.Common.Test.ConcreteCustomActions
{
    class ErrorCustomAction : Unleashed.AutoUpdate.CustomActions.CustomAction
    {
        public ErrorCustomAction()
        {
            throw new Exception("Exception occured...");
        }

        public override void PreWriteActions(Unleashed.AutoUpdate.CustomActions.CustomActionContext context)
        {
            throw new NotImplementedException();
        }

        public override void PostWriteActions(Unleashed.AutoUpdate.CustomActions.CustomActionContext context)
        {
            throw new NotImplementedException();
        }

        public override void RollbackPreWriteActions(Unleashed.AutoUpdate.CustomActions.RollbackCustomActionContext context)
        {
            throw new NotImplementedException();
        }

        public override void RollbackPostWriteActions(Unleashed.AutoUpdate.CustomActions.RollbackCustomActionContext context)
        {
            throw new NotImplementedException();
        }

        public override void CommitUpdate(Unleashed.AutoUpdate.CustomActions.CustomActionContext context)
        {
            throw new NotImplementedException();
        }
    }
}